package com.xinzhi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_student")
public class TdStudent {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("username")
    private  String username;
    @TableField("password")
    private  String password;
    @TableField("name")
    private  String name;
    @TableField("age")
    private Integer age;
    @TableField("email")
    private String email;
}
